package com.myh.gulimall.authserver.feign;

import com.myh.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description: // 类说明，在创建类时要填写
 * @ClassName: ThirdPartyFeignService    // 类名，会自动填充
 * @Author: MYH          // 创建者
 * @Date: 2024/5/30 19:11   // 时间
 * @Version: 1.0     // 版本
 */
@FeignClient("gulimall-third-party")
public interface ThirdPartyFeignService {

    @GetMapping("/sms/sendCode")
    R sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
